# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'C:\Documents and Settings\d3p483\Desktop\Subplot Test\Data_Plot.ui'
#
# Created: Thu Apr 17 15:24:36 2008
#      by: PyQt4 UI code generator 4.3-snapshot-20071006
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(QtCore.QSize(QtCore.QRect(0,0,646,502).size()).expandedTo(MainWindow.minimumSizeHint()))
        MainWindow.setBaseSize(QtCore.QSize(0,0))

        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")

        self.gridlayout = QtGui.QGridLayout(self.centralwidget)
        self.gridlayout.setObjectName("gridlayout")

        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setObjectName("tabWidget")

        self.tab = QtGui.QWidget()
        self.tab.setObjectName("tab")

        self.gridlayout1 = QtGui.QGridLayout(self.tab)
        self.gridlayout1.setObjectName("gridlayout1")

        self.mpl_widget = MPL_Widget(self.tab)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mpl_widget.sizePolicy().hasHeightForWidth())
        self.mpl_widget.setSizePolicy(sizePolicy)
        self.mpl_widget.setMinimumSize(QtCore.QSize(0,0))
        self.mpl_widget.setObjectName("mpl_widget")
        self.gridlayout1.addWidget(self.mpl_widget,0,0,1,1)
        self.tabWidget.addTab(self.tab,"")

        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName("tab_2")

        self.gridlayout2 = QtGui.QGridLayout(self.tab_2)
        self.gridlayout2.setObjectName("gridlayout2")
        self.tabWidget.addTab(self.tab_2,"")
        self.gridlayout.addWidget(self.tabWidget,0,0,1,1)

        self.closeButton = QtGui.QPushButton(self.centralwidget)
        self.closeButton.setObjectName("closeButton")
        self.gridlayout.addWidget(self.closeButton,1,0,1,1)

        self.testButton = QtGui.QPushButton(self.centralwidget)
        self.testButton.setObjectName("testButton")
        self.gridlayout.addWidget(self.testButton,2,0,1,1)

        self.mw_lineEdit = QtGui.QLineEdit(self.centralwidget)
        self.mw_lineEdit.setObjectName("mw_lineEdit")
        self.gridlayout.addWidget(self.mw_lineEdit,3,0,1,1)

        self.label_6 = QtGui.QLabel(self.centralwidget)
        self.label_6.setGeometry(QtCore.QRect(23,60,61,27))
        self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_6.setObjectName("label_6")

        self.logy_cb = QtGui.QCheckBox(self.centralwidget)
        self.logy_cb.setGeometry(QtCore.QRect(33,270,83,23))
        self.logy_cb.setObjectName("logy_cb")

        self.layoutWidget = QtGui.QWidget(self.centralwidget)
        self.layoutWidget.setGeometry(QtCore.QRect(23,100,295,121))
        self.layoutWidget.setObjectName("layoutWidget")

        self.gridlayout3 = QtGui.QGridLayout(self.layoutWidget)
        self.gridlayout3.setObjectName("gridlayout3")

        self.label_3 = QtGui.QLabel(self.layoutWidget)

        font = QtGui.QFont()
        font.setPointSize(10)
        font.setWeight(75)
        font.setBold(True)
        self.label_3.setFont(font)
        self.label_3.setAlignment(QtCore.Qt.AlignCenter)
        self.label_3.setObjectName("label_3")
        self.gridlayout3.addWidget(self.label_3,0,1,1,1)

        self.label_4 = QtGui.QLabel(self.layoutWidget)

        font = QtGui.QFont()
        font.setPointSize(10)
        font.setWeight(75)
        font.setBold(True)
        self.label_4.setFont(font)
        self.label_4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_4.setObjectName("label_4")
        self.gridlayout3.addWidget(self.label_4,0,2,1,1)

        self.label = QtGui.QLabel(self.layoutWidget)
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label.setObjectName("label")
        self.gridlayout3.addWidget(self.label,1,0,1,1)

        self.xmin_lineEdit = QtGui.QLineEdit(self.layoutWidget)
        self.xmin_lineEdit.setObjectName("xmin_lineEdit")
        self.gridlayout3.addWidget(self.xmin_lineEdit,1,1,1,1)

        self.ymin_lineEdit = QtGui.QLineEdit(self.layoutWidget)
        self.ymin_lineEdit.setObjectName("ymin_lineEdit")
        self.gridlayout3.addWidget(self.ymin_lineEdit,1,2,1,1)

        self.label_2 = QtGui.QLabel(self.layoutWidget)
        self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_2.setObjectName("label_2")
        self.gridlayout3.addWidget(self.label_2,2,0,1,1)

        self.xmax_lineEdit = QtGui.QLineEdit(self.layoutWidget)
        self.xmax_lineEdit.setObjectName("xmax_lineEdit")
        self.gridlayout3.addWidget(self.xmax_lineEdit,2,1,1,1)

        self.ymax_lineEdit = QtGui.QLineEdit(self.layoutWidget)
        self.ymax_lineEdit.setObjectName("ymax_lineEdit")
        self.gridlayout3.addWidget(self.ymax_lineEdit,2,2,1,1)

        self.label_5 = QtGui.QLabel(self.layoutWidget)
        self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_5.setObjectName("label_5")
        self.gridlayout3.addWidget(self.label_5,3,0,1,1)

        self.xlabel_lineEdit = QtGui.QLineEdit(self.layoutWidget)
        self.xlabel_lineEdit.setObjectName("xlabel_lineEdit")
        self.gridlayout3.addWidget(self.xlabel_lineEdit,3,1,1,1)

        self.ylabel_lineEdit = QtGui.QLineEdit(self.layoutWidget)
        self.ylabel_lineEdit.setObjectName("ylabel_lineEdit")
        self.gridlayout3.addWidget(self.ylabel_lineEdit,3,2,1,1)

        self.gridlines_cb = QtGui.QCheckBox(self.centralwidget)
        self.gridlines_cb.setGeometry(QtCore.QRect(143,240,83,23))
        self.gridlines_cb.setChecked(True)
        self.gridlines_cb.setObjectName("gridlines_cb")

        self.logx_cb = QtGui.QCheckBox(self.centralwidget)
        self.logx_cb.setGeometry(QtCore.QRect(33,240,83,23))
        self.logx_cb.setObjectName("logx_cb")

        self.plottitle_lineEdit = QtGui.QLineEdit(self.centralwidget)
        self.plottitle_lineEdit.setGeometry(QtCore.QRect(90,60,291,27))
        self.plottitle_lineEdit.setObjectName("plottitle_lineEdit")
        MainWindow.setCentralWidget(self.centralwidget)

        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0,0,646,21))
        self.menubar.setObjectName("menubar")

        self.menu_File = QtGui.QMenu(self.menubar)
        self.menu_File.setObjectName("menu_File")

        self.menu_Options = QtGui.QMenu(self.menubar)
        self.menu_Options.setObjectName("menu_Options")

        self.menuPlot_Options = QtGui.QMenu(self.menu_Options)
        self.menuPlot_Options.setObjectName("menuPlot_Options")

        self.menu_Help = QtGui.QMenu(self.menubar)
        self.menu_Help.setObjectName("menu_Help")
        MainWindow.setMenuBar(self.menubar)

        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.toolBar = QtGui.QToolBar(MainWindow)
        self.toolBar.setObjectName("toolBar")
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea,self.toolBar)

        self.action_Close = QtGui.QAction(MainWindow)
        self.action_Close.setObjectName("action_Close")

        self.action_Save = QtGui.QAction(MainWindow)
        self.action_Save.setObjectName("action_Save")

        self.action_Save_As = QtGui.QAction(MainWindow)
        self.action_Save_As.setObjectName("action_Save_As")

        self.action_Close_2 = QtGui.QAction(MainWindow)
        self.action_Close_2.setObjectName("action_Close_2")

        self.action_Open = QtGui.QAction(MainWindow)
        self.action_Open.setObjectName("action_Open")

        self.actionClear_Plot = QtGui.QAction(MainWindow)
        self.actionClear_Plot.setObjectName("actionClear_Plot")

        self.actionAbout = QtGui.QAction(MainWindow)
        self.actionAbout.setObjectName("actionAbout")

        self.actionAutoScale = QtGui.QAction(MainWindow)
        self.actionAutoScale.setObjectName("actionAutoScale")

        self.actionConfigure_Plot = QtGui.QAction(MainWindow)
        self.actionConfigure_Plot.setObjectName("actionConfigure_Plot")
        self.menu_File.addAction(self.action_Open)
        self.menu_File.addAction(self.action_Save)
        self.menu_File.addAction(self.action_Save_As)
        self.menu_File.addAction(self.action_Close_2)
        self.menuPlot_Options.addAction(self.actionAutoScale)
        self.menuPlot_Options.addAction(self.actionConfigure_Plot)
        self.menu_Options.addAction(self.menuPlot_Options.menuAction())
        self.menu_Options.addAction(self.actionClear_Plot)
        self.menu_Help.addAction(self.actionAbout)
        self.menubar.addAction(self.menu_File.menuAction())
        self.menubar.addAction(self.menu_Options.menuAction())
        self.menubar.addAction(self.menu_Help.menuAction())

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.closeButton,QtCore.SIGNAL("clicked()"),MainWindow.close)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "SubPlot", None, QtGui.QApplication.UnicodeUTF8))
        self.mpl_widget.setToolTip(QtGui.QApplication.translate("MainWindow", "Matplotlib Canvas", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("MainWindow", "Data Plot", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("MainWindow", "Edit Box", None, QtGui.QApplication.UnicodeUTF8))
        self.closeButton.setText(QtGui.QApplication.translate("MainWindow", "Close", None, QtGui.QApplication.UnicodeUTF8))
        self.testButton.setText(QtGui.QApplication.translate("MainWindow", "Test Me!", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("MainWindow", "Plot Title:", None, QtGui.QApplication.UnicodeUTF8))
        self.logy_cb.setText(QtGui.QApplication.translate("MainWindow", "Log Y Axis", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("MainWindow", "X Axis", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("MainWindow", "Y Axis", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("MainWindow", "Minimum:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Maximum:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("MainWindow", "Label:", None, QtGui.QApplication.UnicodeUTF8))
        self.xlabel_lineEdit.setText(QtGui.QApplication.translate("MainWindow", "x-axis", None, QtGui.QApplication.UnicodeUTF8))
        self.ylabel_lineEdit.setText(QtGui.QApplication.translate("MainWindow", "y-axis", None, QtGui.QApplication.UnicodeUTF8))
        self.gridlines_cb.setText(QtGui.QApplication.translate("MainWindow", "Grid Lines", None, QtGui.QApplication.UnicodeUTF8))
        self.logx_cb.setText(QtGui.QApplication.translate("MainWindow", "Log X Axis", None, QtGui.QApplication.UnicodeUTF8))
        self.plottitle_lineEdit.setText(QtGui.QApplication.translate("MainWindow", "Plot Title", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_File.setTitle(QtGui.QApplication.translate("MainWindow", "&File", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_Options.setTitle(QtGui.QApplication.translate("MainWindow", "&Options", None, QtGui.QApplication.UnicodeUTF8))
        self.menuPlot_Options.setTitle(QtGui.QApplication.translate("MainWindow", "Plot Options", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_Help.setTitle(QtGui.QApplication.translate("MainWindow", "&Help", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBar.setWindowTitle(QtGui.QApplication.translate("MainWindow", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Close.setText(QtGui.QApplication.translate("MainWindow", "&Open", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Save.setText(QtGui.QApplication.translate("MainWindow", "&Save", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Save.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+S", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Save_As.setText(QtGui.QApplication.translate("MainWindow", "&Save As", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Close_2.setText(QtGui.QApplication.translate("MainWindow", "&Close", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Close_2.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+Q", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Open.setText(QtGui.QApplication.translate("MainWindow", "&Open", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Open.setToolTip(QtGui.QApplication.translate("MainWindow", "Open File", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Open.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+O", None, QtGui.QApplication.UnicodeUTF8))
        self.actionClear_Plot.setText(QtGui.QApplication.translate("MainWindow", "Clear Plot", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAbout.setText(QtGui.QApplication.translate("MainWindow", "About", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAutoScale.setText(QtGui.QApplication.translate("MainWindow", "AutoScale", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAutoScale.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+A", None, QtGui.QApplication.UnicodeUTF8))
        self.actionConfigure_Plot.setText(QtGui.QApplication.translate("MainWindow", "Configure Plot", None, QtGui.QApplication.UnicodeUTF8))
        self.actionConfigure_Plot.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+D", None, QtGui.QApplication.UnicodeUTF8))

from mpl_custom_widget import MPL_Widget
